package com.uphone.kingmall.activity.personal.set;

import androidx.fragment.app.Fragment;

import com.uphone.kingmall.base.BaseTabActivity;
import com.uphone.kingmall.fragment.YongJinRankingFragment;

import java.util.ArrayList;
import java.util.List;

/**
 * author : SuMeng
 * e-mail : 986335838@qq.com
 * time   : 2019/05/22
 * desc   : xxxx 描述
 */
public class YongJinRankingActivity extends BaseTabActivity {
    @Override
    protected String initTitle() {
        trackIndicator.setVisibleNum(2);
        return "我的佣金";
    }

    @Override
    protected List<Fragment> getFragmentList() {
        List<Fragment> fragments = new ArrayList<>();
        fragments.add(YongJinRankingFragment.newInstance(1));
        fragments.add(YongJinRankingFragment.newInstance(2));
        return fragments;
    }

    @Override
    protected void selectChange(boolean selected) {

    }

    @Override
    protected String[] getItems() {
        return new String[]{"日榜单","总榜单"};
    }
}
